package state.impl;

import state.Context;
import state.State;

/**
 * 开始状态
 */
public class StartState implements State {
    @Override
    public void handle(Context context) {
        System.out.println("当前处于开始状态");
        // 转换到运行状态
        context.setState(new RunningState());
    }
}